package com.alkin.thing.common.utils;

import org.springframework.util.DigestUtils;

public class MD5Utils {
    public static final String prifix = "zygx_";

    /**
     *  md5加密数据
     * @param param: 要加密的参数
     * @author: chengjie.liu 2019/8/12 15:13
     */
    public static String md5Encry(String param){
        String d = prifix + param;
        return DigestUtils.md5DigestAsHex(d.getBytes());
    }
}
